#pragma once
#ifndef SDEF_MORESCENE
#define SDEF_MORESCENE

#include <SypX/SypX.h>
#include "Scene.h"

namespace SheepDefence
{
	class MoreScene : public Scene
	{
	public:
		MoreScene(SypX::Font* f);
		~MoreScene(void);
		virtual void init();
		virtual void run();
		virtual void handleInput();
	private:		
		SypX::Renderer* render;
		SypX::Engine* engine;
		SypX::Canvas* canvas;

		SypX::Mesh* bgMesh;
		SypX::Texture* bgTex, * backTex;
		SypX::MeshInstance* bg;
		SypX::SoundBuffer* snd;
		SypX::Font* font;

		SypX::Button* back;

		float totalTime;

		void goBack(SypX::GuiComponent* g, SypX::Event& e);
	};
}
#endif